package com.net.tkc.pro.impl;

import com.net.tkc.pro.entity.MessageEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface message {
  int addMessage(@Param("message")MessageEntity message);//添加记录
  int updateMessageById(String Time,int Status,int id);//更新记录
  int delMessage(int id);//删除记录
  List<MessageEntity> getMessageList(String Note,String EmailAddress,int Start,int Page);//获取列表
  int getMessageCount();//获取所有数量
}
